#include <iostream>
#include <cwchar>

#define d1 123
#define d2 L'c'
#define d3 "你好"

int main(int argc, char const *argv[])
{

    const int c1 = 456;
    const wchar_t c2 = L'善';
    const float c3 = 54.6f;

    // 宽字符常量
    wchar_t wc1 = L'你';
    wchar_t wc2 = L'\u03A9'; // Unicode 希腊字母 Ω

    std::cout << "d1: " << 123 << std::endl;
    std::wcout << L"d2: " << L'c' << std::endl;
    std::cout << "d3: " << "你好" << std::endl;

    std::cout << "c1: " << c1 << std::endl;
    std::wcout << "c2: " << c2 << L'\n' << std::endl;
    std::cout << "c3: " << c3 << std::endl;

    std::wcout << wc1 << wc2 << L'\n'; // 输出宽字符

    return 0;
}
